package com.ukao.pad.bean;

import java.util.List;

/**
 * Created by ukaodev on 2017/9/9.
 */

public class MarkprintBean extends  BaseBean<MarkprintBean> {

        /**
         * userName : #哈哈哈哈有
         * serviceAmt : 1200
         * colorDesc : [{"id": "17", "name": "蓝紫色"}]
         * no : 5
         * addServiceDesc : [{"id": "10", "amt": "7800", "name": "洗后褪色"}, {"id": "9", "amt": "5600", "name": "扣子掉色"}]
         * discount : 20
         * type : 1
         * productCnt : 7
         * storeName : 友靠麓云店
         * subtotal : 19400
         * productName : 修衣领
         * flawDesc : [{"id": "21", "name": "破洞"}]
         * tranText : 输送线
         * tranNum : 11
         * orderNo : 2017091183319991
         * effectDesc : [{"id": "2", "name": "洗后会起泡"}, {"id": "4", "name": "洗后丝棉打团"}]
         * storeId : 19
         * serviceName : 清洗
         * annexList : [{"serviceAmt":1200,"no":7,"discount":20,"type":2,"serviceName":"清洗","subtotal":19400,"productName":"内胆","scanCode":"529951893163","tranText":"输送线","tranNum":null},{"serviceAmt":1200,"no":6,"discount":20,"type":2,"serviceName":"清洗","subtotal":19400,"productName":"帽子","scanCode":"874776142945","tranText":"输送线","tranNum":null}]
         * userPhone : 18574253625
         * annexDesc : [{"id": "13", "name": "帽子"}, {"id": "15", "name": "内胆"}]
         * scanCode : 715836049137
         */

        private String userName;
        private int serviceAmt;
        private String colorDesc;
        private int no;
        private String addServiceDesc;
        private int discount;
        private int type;
        private int productCnt;
        private String storeName;
        private int subtotal;
        private String productName;
    private   String  parentProName;
        private String flawDesc;
        private String tranText;
        private int tranNum;
        private String orderNo;
        private String effectDesc;
        private int storeId;
        private String serviceName;
        private String userPhone;
        private String annexDesc;
        private String scanCode;
        private   boolean  isPaid;
    private   long  createTime;


    public String getParentProName() {
        return parentProName;
    }

    public long getCreateTime() {
        return createTime;
    }

    public boolean isPaid() {
        return isPaid;
    }

    private List<AnnexListBean> annexList;

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public int getServiceAmt() {
            return serviceAmt;
        }

        public void setServiceAmt(int serviceAmt) {
            this.serviceAmt = serviceAmt;
        }

        public String getColorDesc() {
            return colorDesc;
        }

        public void setColorDesc(String colorDesc) {
            this.colorDesc = colorDesc;
        }

        public int getNo() {
            return no;
        }

        public void setNo(int no) {
            this.no = no;
        }

        public String getAddServiceDesc() {
            return addServiceDesc;
        }

        public void setAddServiceDesc(String addServiceDesc) {
            this.addServiceDesc = addServiceDesc;
        }

        public int getDiscount() {
            return discount;
        }

        public void setDiscount(int discount) {
            this.discount = discount;
        }

        public boolean getType() {
            boolean  isclothing=false;
            if (type==1){ /*1是衣物*/
                isclothing=true;
            }

            return isclothing;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getProductCnt() {
            return productCnt;
        }

        public void setProductCnt(int productCnt) {
            this.productCnt = productCnt;
        }

        public String getStoreName() {
            return storeName;
        }

        public void setStoreName(String storeName) {
            this.storeName = storeName;
        }

        public int getSubtotal() {
            return subtotal;
        }

        public void setSubtotal(int subtotal) {
            this.subtotal = subtotal;
        }

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        public String getFlawDesc() {
            return flawDesc;
        }

        public void setFlawDesc(String flawDesc) {
            this.flawDesc = flawDesc;
        }

        public String getTranText() {
            return tranText;
        }

        public void setTranText(String tranText) {
            this.tranText = tranText;
        }

        public int getTranNum() {
            return tranNum;
        }

        public void setTranNum(int tranNum) {
            this.tranNum = tranNum;
        }

        public String getOrderNo() {
            return orderNo;
        }

        public void setOrderNo(String orderNo) {
            this.orderNo = orderNo;
        }

        public String getEffectDesc() {
            return effectDesc;
        }

        public void setEffectDesc(String effectDesc) {
            this.effectDesc = effectDesc;
        }

        public int getStoreId() {
            return storeId;
        }

        public void setStoreId(int storeId) {
            this.storeId = storeId;
        }

        public String getServiceName() {
            return serviceName;
        }

        public void setServiceName(String serviceName) {
            this.serviceName = serviceName;
        }

        public String getUserPhone() {
            return userPhone;
        }

        public void setUserPhone(String userPhone) {
            this.userPhone = userPhone;
        }

        public String getAnnexDesc() {
            return annexDesc;
        }

        public void setAnnexDesc(String annexDesc) {
            this.annexDesc = annexDesc;
        }

        public String getScanCode() {
            return scanCode;
        }

        public void setScanCode(String scanCode) {
            this.scanCode = scanCode;
        }

        public List<AnnexListBean> getAnnexList() {
            return annexList;
        }

        public void setAnnexList(List<AnnexListBean> annexList) {
            this.annexList = annexList;
        }

        public static class AnnexListBean {
            /**
             * serviceAmt : 1200
             * no : 7
             * discount : 20
             * type : 2
             * serviceName : 清洗
             * subtotal : 19400
             * productName : 内胆
             * scanCode : 529951893163
             * tranText : 输送线
             * tranNum : null
             */

            private int serviceAmt;
            private int no;
            private int discount;
            private int type;
            private String serviceName;
            private int subtotal;
            private String productName;
            private String scanCode;
            private String tranText;
            private Object tranNum;

            public int getServiceAmt() {
                return serviceAmt;
            }

            public void setServiceAmt(int serviceAmt) {
                this.serviceAmt = serviceAmt;
            }

            public int getNo() {
                return no;
            }

            public void setNo(int no) {
                this.no = no;
            }

            public int getDiscount() {
                return discount;
            }

            public void setDiscount(int discount) {
                this.discount = discount;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getServiceName() {
                return serviceName;
            }

            public void setServiceName(String serviceName) {
                this.serviceName = serviceName;
            }

            public int getSubtotal() {
                return subtotal;
            }

            public void setSubtotal(int subtotal) {
                this.subtotal = subtotal;
            }

            public String getProductName() {
                return productName;
            }

            public void setProductName(String productName) {
                this.productName = productName;
            }

            public String getScanCode() {
                return scanCode;
            }

            public void setScanCode(String scanCode) {
                this.scanCode = scanCode;
            }

            public String getTranText() {
                return tranText;
            }

            public void setTranText(String tranText) {
                this.tranText = tranText;
            }

            public Object getTranNum() {
                return tranNum;
            }

            public void setTranNum(Object tranNum) {
                this.tranNum = tranNum;
            }
        }

}
